// PersonalPage.cs
// Facebook/Framework/Service
// Copyright (c) 2007, Nikhil Kothari. All Rights Reserved.
//

using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using Facebook.Service.Core;

namespace Facebook.Service {

    /// <summary>
    /// The personal information associated with a PresencePage.
    /// </summary>
    public sealed class PersonalPage : FacebookEntity {

        internal PersonalPage(Hashtable pageState)
            : base(pageState) {
        }

        /// <summary>
        /// Any affiliation of the person.
        /// </summary>
        public string Affiliation {
            get {
                return GetState<string>("affiliation");
            }
        }

        /// <summary>
        /// The person's birthday.
        /// </summary>
        public string Birthday {
            get {
                return GetState<string>("birthday");
            }
        }

        /// <summary>
        /// The interests of the person.
        /// </summary>
        public string Interests {
            get {
                return GetState<string>("personal_interests");
            }
        }

        /// <summary>
        /// Any personal information about the person.
        /// </summary>
        public string PersonalInformation {
            get {
                return GetState<string>("personal_info");
            }
        }
    }
}
